# --------------------------------------------------
# -*- coding: utf-8 -*-
# Time: 2023/3/11 15:47
# Author: 沈凌鹏
# Version: 0.1
# File: conftest.py
# Description: 
# --------------------------------------------------
import os
import sys

import pytest

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '')))


# 标注测试开始
@pytest.fixture(scope='session', autouse=True)
def set_up():
    print('=========测试开始=========')
    yield
    print('=========测试结束=========')


# 标注为加法测试
@pytest.fixture(scope='function')
def add_tips():
    print('====加法测试====')


# 标注为减法测试
@pytest.fixture(scope='function')
def sub_tips():
    print('====减法测试====')


# 标注为乘法测试
@pytest.fixture(scope='function')
def mul_tips():
    print('====乘法测试====')


# 标注为除法测试
@pytest.fixture(scope='function')
def div_tips():
    print('====除法测试====')

